/**
 * output package name
 */
package com.kingdee.eas.xbang.contract;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class AttributeTypeEnum extends StringEnum
{
    public static final String PURCHASE_VALUE = "purchase";
    public static final String MANAGE_VALUE = "manage";
    public static final String RENT_VALUE = "rent";

    public static final AttributeTypeEnum purchase = new AttributeTypeEnum("purchase", PURCHASE_VALUE);
    public static final AttributeTypeEnum manage = new AttributeTypeEnum("manage", MANAGE_VALUE);
    public static final AttributeTypeEnum rent = new AttributeTypeEnum("rent", RENT_VALUE);

    /**
     * construct function
     * @param String attributeTypeEnum
     */
    private AttributeTypeEnum(String name, String attributeTypeEnum)
    {
        super(name, attributeTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AttributeTypeEnum getEnum(String attributeTypeEnum)
    {
        return (AttributeTypeEnum)getEnum(AttributeTypeEnum.class, attributeTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AttributeTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AttributeTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AttributeTypeEnum.class);
    }
}